Optimal. Leaf size=157 \[ \frac{x (g x)^m \left (a+c x^2\right )^p \left (\frac{c x^2}{a}+1\right )^{-p} F_1\left (\frac{m+1}{2};-p,1;\frac{m+3}{2};-\frac{c x^2}{a},\frac{e^2 x^2}{d^2}\right )}{d (m+1)}-\frac{e x^2 (g x)^m \left (a+c x^2\right )^p \left (\frac{c x^2}{a}+1\right )^{-p} F_1\left (\frac{m+2}{2};-p,1;\frac{m+4}{2};-\frac{c x^2}{a},\frac{e^2 x^2}{d^2}\right )}{d^2 (m+2)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.143294, antiderivative size = 157, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 3, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.136, Rules used = {959, 511, 510} \[ \frac{x (g x)^m \left (a+c x^2\right )^p \left (\frac{c x^2}{a}+1\right )^{-p} F_1\left (\frac{m+1}{2};-p,1;\frac{m+3}{2};-\frac{c x^2}{a},\frac{e^2 x^2}{d^2}\right )}{d (m+1)}-\frac{e x^2 (g x)^m \left (a+c x^2\right )^p \left (\frac{c x^2}{a}+1\right )^{-p} F_1\left (\frac{m+2}{2};-p,1;\frac{m+4}{2};-\frac{c x^2}{a},\frac{e^2 x^2}{d^2}\right )}{d^2 (m+2)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 959
Rule 511
Rule 510
Rubi steps
\begin{align*} \int \frac{(g x)^m \left (a+c x^2\right )^p}{d+e x} \, dx &=\left (d x^{-m} (g x)^m\right ) \int \frac{x^m \left (a+c x^2\right )^p}{d^2-e^2 x^2} \, dx-\left (e x^{-m} (g x)^m\right ) \int \frac{x^{1+m} \left (a+c x^2\right )^p}{d^2-e^2 x^2} \, dx\\ &=\left (d x^{-m} (g x)^m \left (a+c x^2\right )^p \left (1+\frac{c x^2}{a}\right )^{-p}\right ) \int \frac{x^m \left (1+\frac{c x^2}{a}\right )^p}{d^2-e^2 x^2} \, dx-\left (e x^{-m} (g x)^m \left (a+c x^2\right )^p \left (1+\frac{c x^2}{a}\right )^{-p}\right ) \int \frac{x^{1+m} \left (1+\frac{c x^2}{a}\right )^p}{d^2-e^2 x^2} \, dx\\ &=\frac{x (g x)^m \left (a+c x^2\right )^p \left (1+\frac{c x^2}{a}\right )^{-p} F_1\left (\frac{1+m}{2};-p,1;\frac{3+m}{2};-\frac{c x^2}{a},\frac{e^2 x^2}{d^2}\right )}{d (1+m)}-\frac{e x^2 (g x)^m \left (a+c x^2\right )^p \left (1+\frac{c x^2}{a}\right )^{-p} F_1\left (\frac{2+m}{2};-p,1;\frac{4+m}{2};-\frac{c x^2}{a},\frac{e^2 x^2}{d^2}\right )}{d^2 (2+m)}\\ \end{align*}
Mathematica [F] time = 0.0967025, size = 0, normalized size = 0. \[ \int \frac{(g x)^m \left (a+c x^2\right )^p}{d+e x} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.677, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( gx \right ) ^{m} \left ( c{x}^{2}+a \right ) ^{p}}{ex+d}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (c x^{2} + a\right )}^{p} \left (g x\right )^{m}}{e x + d}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (c x^{2} + a\right )}^{p} \left (g x\right )^{m}}{e x + d}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (c x^{2} + a\right )}^{p} \left (g x\right )^{m}}{e x + d}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]